package com.ieasy.module.oa.project.web.form;

import java.io.Serializable;
import java.util.List;

import com.ieasy.basic.model.PageHelper;

public class PersonBudgetForm extends PageHelper implements Serializable {

	private static final long serialVersionUID = 1L;
	
	//类别：deptCount、maxMember、minMember
	private String category ;

	// 本部門人数（人）
	private int deptCount;

	// 最大需求人数（人）
	private int maxMember;

	// 最小需求人数（人）
	private int minMember;

	// 年份
	private int year;

	// 1~12月
	private Float m1 = new Float(0);
	private Float m2 = new Float(0);
	private Float m3 = new Float(0);
	private Float m4 = new Float(0);
	private Float m5 = new Float(0);
	private Float m6 = new Float(0);
	private Float m7 = new Float(0);
	private Float m8 = new Float(0);
	private Float m9 = new Float(0);
	private Float m10 = new Float(0);
	private Float m11 = new Float(0);
	private Float m12 = new Float(0);

	private String personId;
	
	/**********计算出的值**********/
	
	//需求平均（人）公式：(maxMember+minMember)/2
	private int avg;
	
	//空闲人数上限（人）公式：(deptCount-minMember)
	private int freeUp ;
	
	//空闲人数下限（人）公式：(deptCount-maxMember)
	private int freeDown ;
	
	//空闲平均（人）公式：(freeUp+freeDown)/2
	private int freeAvg ;
	
	
	/***************其他属性*****************/
	private String personName ;
	
	private String deptName ;
	
	private List<?> children ;
	
	//查询年份
	private int searchYear ;
	//查询月份
	private String month ;
	
	private Double tm1 = new Double(0) ;
	private Double tm2 = new Double(0) ;
	private Double tm3 = new Double(0) ;
	private Double tm4 = new Double(0) ;
	private Double tm5 = new Double(0) ;
	private Double tm6 = new Double(0) ;
	private Double tm7 = new Double(0) ;
	private Double tm8 = new Double(0) ;
	private Double tm9 = new Double(0) ;
	private Double tm10 = new Double(0) ;
	private Double tm11 = new Double(0) ;
	private Double tm12 = new Double(0) ;




	public Double getTm1() {
		return tm1;
	}


	public void setTm1(Double tm1) {
		this.tm1 = tm1;
	}


	public Double getTm2() {
		return tm2;
	}


	public void setTm2(Double tm2) {
		this.tm2 = tm2;
	}


	public Double getTm3() {
		return tm3;
	}


	public void setTm3(Double tm3) {
		this.tm3 = tm3;
	}


	public Double getTm4() {
		return tm4;
	}


	public void setTm4(Double tm4) {
		this.tm4 = tm4;
	}


	public Double getTm5() {
		return tm5;
	}


	public void setTm5(Double tm5) {
		this.tm5 = tm5;
	}


	public Double getTm6() {
		return tm6;
	}


	public void setTm6(Double tm6) {
		this.tm6 = tm6;
	}


	public Double getTm7() {
		return tm7;
	}


	public void setTm7(Double tm7) {
		this.tm7 = tm7;
	}


	public Double getTm8() {
		return tm8;
	}


	public void setTm8(Double tm8) {
		this.tm8 = tm8;
	}


	public Double getTm9() {
		return tm9;
	}


	public void setTm9(Double tm9) {
		this.tm9 = tm9;
	}


	public Double getTm10() {
		return tm10;
	}


	public void setTm10(Double tm10) {
		this.tm10 = tm10;
	}


	public Double getTm11() {
		return tm11;
	}


	public void setTm11(Double tm11) {
		this.tm11 = tm11;
	}


	public Double getTm12() {
		return tm12;
	}


	public void setTm12(Double tm12) {
		this.tm12 = tm12;
	}


	public String getDeptName() {
		return deptName;
	}


	public List<?> getChildren() {
		return children;
	}


	public void setChildren(List<?> children) {
		this.children = children;
	}


	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public int getSearchYear() {
		return searchYear;
	}


	public void setSearchYear(int searchYear) {
		this.searchYear = searchYear;
	}



	public String getMonth() {
		return month;
	}


	public void setMonth(String month) {
		this.month = month;
	}


	public String getCategory() {
		return category;
	}


	public void setCategory(String category) {
		this.category = category;
	}


	public int getYear() {
		return year;
	}


	public void setYear(int year) {
		this.year = year;
	}


	public Float getM1() {
		return m1;
	}


	public void setM1(Float m1) {
		this.m1 = m1;
	}


	public Float getM2() {
		return m2;
	}


	public void setM2(Float m2) {
		this.m2 = m2;
	}


	public Float getM3() {
		return m3;
	}


	public void setM3(Float m3) {
		this.m3 = m3;
	}


	public Float getM4() {
		return m4;
	}


	public void setM4(Float m4) {
		this.m4 = m4;
	}


	public Float getM5() {
		return m5;
	}


	public void setM5(Float m5) {
		this.m5 = m5;
	}


	public Float getM6() {
		return m6;
	}


	public void setM6(Float m6) {
		this.m6 = m6;
	}


	public Float getM7() {
		return m7;
	}


	public void setM7(Float m7) {
		this.m7 = m7;
	}


	public Float getM8() {
		return m8;
	}


	public void setM8(Float m8) {
		this.m8 = m8;
	}


	public Float getM9() {
		return m9;
	}


	public int getDeptCount() {
		return deptCount;
	}


	public void setDeptCount(int deptCount) {
		this.deptCount = deptCount;
	}


	public int getMaxMember() {
		return maxMember;
	}


	public void setMaxMember(int maxMember) {
		this.maxMember = maxMember;
	}


	public int getMinMember() {
		return minMember;
	}


	public void setMinMember(int minMember) {
		this.minMember = minMember;
	}


	public void setM9(Float m9) {
		this.m9 = m9;
	}


	public Float getM10() {
		return m10;
	}


	public void setM10(Float m10) {
		this.m10 = m10;
	}


	public Float getM11() {
		return m11;
	}


	public void setM11(Float m11) {
		this.m11 = m11;
	}


	public Float getM12() {
		return m12;
	}


	public void setM12(Float m12) {
		this.m12 = m12;
	}


	public String getPersonId() {
		return personId;
	}


	public void setPersonId(String personId) {
		this.personId = personId;
	}


	public int getAvg() {
		return avg;
	}


	public void setAvg(int avg) {
		this.avg = avg;
	}


	public int getFreeUp() {
		return freeUp;
	}


	public void setFreeUp(int freeUp) {
		this.freeUp = freeUp;
	}


	public int getFreeDown() {
		return freeDown;
	}


	public void setFreeDown(int freeDown) {
		this.freeDown = freeDown;
	}


	public int getFreeAvg() {
		return freeAvg;
	}


	public void setFreeAvg(int freeAvg) {
		this.freeAvg = freeAvg;
	}


	public String getPersonName() {
		return personName;
	}


	public void setPersonName(String personName) {
		this.personName = personName;
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
